package com.jhgsys.internal.peccancy.service;

import com.jhgsys.internal.peccancy.entity.PeccancyInformationFile;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 违章图片 Service接口
 *
 * @author wanghw
 * @date 2024-08-12 09:46:26
 */
public interface IPeccancyInformationFileService extends IService<PeccancyInformationFile> {
    /**
     * 查询（分页）
     * @author wanghw
     * @date 2024-08-12 09:46:26
     * @param request QueryRequest
     * @param peccancyInformationFile peccancyInformationFile
     * @return IPage<PeccancyInformationFile>
     */
    IPage<PeccancyInformationFile> findPeccancyInformationFilePage(QueryRequest request, PeccancyInformationFile peccancyInformationFile);

    /**
     * 查询（所有）
     * @author wanghw
     * @date 2024-08-12 09:46:26
     * @param peccancyInformationFile peccancyInformationFile
     * @return List<PeccancyInformationFile>
     */
    List<PeccancyInformationFile> findPeccancyInformationFileList(PeccancyInformationFile peccancyInformationFile);

    /**
    * 根据ID查询
    * @author wanghw
    * @date 2024-08-12 09:46:26
    * @param id
    * @return PeccancyInformationFile
    */
    PeccancyInformationFile findPeccancyInformationFileById(Integer id);

    /**
     * 新增
     * @author wanghw
     * @date 2024-08-12 09:46:26
     * @param peccancyInformationFile peccancyInformationFile
     */
    void createPeccancyInformationFile(PeccancyInformationFile peccancyInformationFile);

    /**
     * 修改
     * @author wanghw
     * @date 2024-08-12 09:46:26
     * @param peccancyInformationFile peccancyInformationFile
     */
    void updatePeccancyInformationFile(PeccancyInformationFile peccancyInformationFile);

    /**
     * 逻辑删除
     * @author wanghw
     * @date 2024-08-12 09:46:26
     * @param peccancyInformationFile peccancyInformationFile
     * @param peccancyInformationFileIds peccancyInformationFileIds
     */
    void deletePeccancyInformationFile(PeccancyInformationFile peccancyInformationFile,String peccancyInformationFileIds);

    /**
    * 物理删除
    * @author wanghw
    * @date 2024-08-12 09:46:26
    * @param peccancyInformationFileIds peccancyInformationFileIds
    */
    void physicallyDeletePeccancyInformationFile(String peccancyInformationFileIds);
}
